package Month07.day25;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

public class DemoArrayList {
    public static void main(String[] args) {
        Collection<String> list = new ArrayList<>();
        ArrayList<String> list1 = new ArrayList<>();
        Collections.addAll(list,"as","ds");
        System.out.println(((ArrayList) list).get(0));
    }
}
